Skip to main content

type-alias.RenderStateGroupAction

API > RenderStateGroupAction

Type alias: RenderStateGroupAction

RenderStateGroupAction: RGBATransform | "hide" | "filter"

How to render the geometry of a highlight group.

Remarks

Color transforms allows you to modify the color, brightness and transparency of objects within the group.

"hide" will hide the objects within the group more effectively than using alpha/opacity = 0, while still retaining them in memory for quick re-rendering.

"filter" will remove the objects from memory entirely, which helps improve rendering performance and memory usage. Unlike hidden group, changes to filtered groups will trigger a complete reload of the streamable scene.

Source

@novorender/core3d/state/index.ts:560